<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>CST425 Lunch Finder Project</title>
<script src="lib/lunchfinder.js" type="text/javascript"></script>
</head>
<body>
<?	
	include_once 'lib/config.php';
	include_once 'lib/databaseObject.php';
	
	$dbObj = new DatabaseObject();
	$dbObj->connect($dbhost, $dbuser, $dbpass, $dbname);
	
	$myArray = $dbObj->getLunchByPrice(0,8);
	
	echo "<script language=\"javascript\"> findLocations($myArray);</script>";

?>
</body>
</html>

<!-- //echo "<script language=\"javascript\" type=\"text/javascript\"></script>"; -->
